package com.yami.shop.rights.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.rights.common.dto.ProdRightsDto;
import com.yami.shop.rights.common.model.ProdRights;
import com.yami.shop.rights.common.model.RightsExternal;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface RightsExternalService extends IService<RightsExternal> {

    IPage<RightsExternal> pageList(PageParam<RightsExternal> page, ProdRightsDto vo);

    void excelExternal(Long id, HttpServletResponse response);

    List<RightsExternal> getDataListByRithsIds(String rightsId);
}
